﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Ver1.Controllers
{
    public class LoaiController : Controller
    {
        BanHang_Pallet db = new BanHang_Pallet();
        //
        // GET: /Loai/
        public ActionResult Index()
        {
            var loai = db.Loais;
            return View(loai);
        }

        public ActionResult _Loai()
        {
            var loai = db.Loais;
            return PartialView(loai);
        }
    }
}